package com.hfy.model.po.user.post;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 韩
 * @since 2024-12-10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("post_favorite")
public class PostFavoritePo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 收藏夹标题
     */
    private String title;

    /**
     * 账号
     */
    private Long account;

    /**
     * 描述
     */
    private String des;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private Integer count;

    @TableField(exist = false)
    private Boolean isCollected;
}
